#pragma once
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>

typedef unsigned int   uint;
typedef unsigned short ushort;
typedef unsigned char  uchar;

typedef uint8_t  u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;

typedef int8_t   i8;
typedef int16_t  i16;
typedef int32_t  i32;
typedef int64_t  i64;

typedef intptr_t ssize_t;

#define SSIZE_MAX         ((ssize_t)(SIZE_MAX >> 1))
